﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Workflow2211A.Domain.Entities;

namespace Workflow2211A.Domain.IndependentBilling.PrescriptionApplication
{
    /// <summary>
    /// 开单申请表
    /// </summary>
    public class PrescriptionApplicationModel:BaseEntity
    {

        /// <summary>
        /// 院区ID
        /// </summary>
        public long HospitalAreaId { get; set; }

        /// <summary>
        /// 用户
        /// </summary>
        public string? Names { get; set; }

        /// <summary>
        /// 开单原因
        /// </summary>
        public string? Reason { get; set; }

        /// <summary>
        /// 检查项目ID
        /// </summary>
        public long ExaminationItemId { get; set; }

        /// <summary>
        /// 检验项目ID
        /// </summary>
        public long TestItemId { get; set; }

        /// <summary>
        /// 药品ID
        /// </summary>
        public long MedicineId { get; set; }

        /// <summary>
        /// 开单申请时间
        /// </summary>
        public DateTime? ApplicationTime { get; set; }

        /// <summary>
        /// 合计
        /// </summary>
        public decimal Total { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public int Status { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        public int Quantity { get; set; }

        /// <summary>
        /// 交付时间
        /// </summary>
        public DateTime? DeliveryTime { get; set; }

        /// <summary>
        /// 取消时间
        /// </summary>
        public DateTime? CancelTime { get; set; }
    }
}
